/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package kwic;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Tom
 */
public class LineStorage implements ILineStorage{
    private List<String> line;

  
    
    public LineStorage(){
        line=new ArrayList<>();
    }

    @Override
    public void addLine(String line) {
        this.line.add(line);
    }

    @Override
    public List<String> getLines() {
        return line;
    }
      public List<String> getLine() {
        return line;
    }

    public void setLine(List<String> line) {
        this.line = line;
    }
}
